	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s2255_write_config
_s2255_write_config:                    ## @s2255_write_config
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_S2255_CONFIG_EP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_sndbulkpipe
	leaq	-28(%rbp), %r8
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	movl	$500, %r9d                      ## imm = 0x1F4
	callq	_usb_bulk_msg
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
                                        ## kill: def $eax killed $eax killed $rax
	retq
LBB0_1:
	movl	$-1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S2255_CONFIG_EP,4,2            ## @S2255_CONFIG_EP
	.no_dead_strip	_s2255_write_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s2255_write_config
_s2255_write_config:                    ; @s2255_write_config
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _S2255_CONFIG_EP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S2255_CONFIG_EP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_usb_sndbulkpipe
	mov	x1, x0
	add	x4, sp, #12
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	mov	w5, #500
	bl	_usb_bulk_msg
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	mov	w0, #-1
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_S2255_CONFIG_EP,4,2            ; @S2255_CONFIG_EP
	.no_dead_strip	_s2255_write_config
.subsections_via_symbols
