	.file	"extr_sonixj.c_reg_w1.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"reg_w1 [%04x] = %02x"
.LC1:
	.string	"reg_w1 err %d"
	.text
	.p2align 4
	.type	reg_w1, @function
reg_w1:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	js	.L6
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	ecx, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	mov	edx, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR D_USBO[rip]
	call	PDEBUG@PLT
	mov	r13, QWORD PTR 8[rbx]
	xor	esi, esi
	mov	DWORD PTR 0[r13], r12d
	mov	edi, DWORD PTR 16[rbx]
	mov	r12d, DWORD PTR USB_DIR_OUT[rip]
	or	r12d, DWORD PTR USB_TYPE_VENDOR[rip]
	or	r12d, DWORD PTR USB_RECIP_INTERFACE[rip]
	call	usb_sndctrlpipe@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	edi, DWORD PTR 16[rbx]
	mov	r8d, ebp
	push	500
	.cfi_def_cfa_offset 64
	mov	esi, eax
	xor	r9d, r9d
	mov	ecx, r12d
	push	1
	.cfi_def_cfa_offset 72
	mov	edx, 8
	push	r13
	.cfi_def_cfa_offset 80
	call	usb_control_msg@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 48
	mov	ebp, eax
	test	eax, eax
	js	.L10
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -40
	.cfi_offset 6, -32
	.cfi_offset 12, -24
	.cfi_offset 13, -16
	mov	esi, eax
	lea	rdi, .LC1[rip]
	call	err@PLT
	mov	DWORD PTR [rbx], ebp
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	reg_w1, .-reg_w1
	.comm	USB_TYPE_VENDOR,4,4
	.comm	USB_RECIP_INTERFACE,4,4
	.comm	USB_DIR_OUT,4,4
	.comm	D_USBO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_sonixj.c_reg_w1.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"reg_w1 [%04x] = %02x\000"
	.align	2
.LC1:
	.ascii	"reg_w1 err %d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	reg_w1, %function
reg_w1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	cmp	r3, #0
	bxlt	lr
	push	{r4, r5, r6, r7, lr}
	mov	r6, r2
	mov	r4, r0
	ldr	r2, .L11
	sub	sp, sp, #28
	mov	r5, r1
	mov	r3, r6
	ldr	r0, [r2]
	mov	r2, r1
	ldr	r1, .L11+4
	bl	PDEBUG
	ldr	r3, [r4, #4]
	mov	r1, #0
	str	r6, [r3]
	ldr	r6, [r4, #8]
	mov	r7, #500
	mov	r0, r6
	bl	usb_sndctrlpipe
	mov	lr, #1
	mov	ip, #0
	ldr	r2, .L11+8
	ldr	r3, .L11+12
	mov	r1, r0
	ldr	r0, [r2]
	ldr	r2, .L11+16
	ldr	r3, [r3]
	ldr	r2, [r2]
	orr	r3, r3, r0
	str	r5, [sp]
	orr	r3, r3, r2
	ldr	r2, [r4, #4]
	mov	r0, r6
	str	r2, [sp, #8]
	str	r7, [sp, #16]
	mov	r2, #8
	str	lr, [sp, #12]
	str	ip, [sp, #4]
	bl	usb_control_msg
	subs	r5, r0, #0
	blt	.L10
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	mov	r1, r5
	ldr	r0, .L11+20
	bl	err
	str	r5, [r4]
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	.align	2
.L11:
	.word	D_USBO
	.word	.LC0
	.word	USB_TYPE_VENDOR
	.word	USB_DIR_OUT
	.word	USB_RECIP_INTERFACE
	.word	.LC1
	.size	reg_w1, .-reg_w1
	.comm	USB_TYPE_VENDOR,4,4
	.comm	USB_RECIP_INTERFACE,4,4
	.comm	USB_DIR_OUT,4,4
	.comm	D_USBO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
