	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hwme_set_request_sync
_hwme_set_request_sync:                 ## @hwme_set_request_sync
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r14
	movq	%rsi, %rbx
	movq	_SPI_HWME_SET_REQUEST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	leaq	2(%rsi), %rax
	movq	%rax, -24(%rbp)
	movq	%rdi, -32(%rbp)
	movq	%rsi, -40(%rbp)
	movq	%rdx, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	addq	$4, %rbx
	leaq	-64(%rbp), %rdi
	leaq	-112(%rbp), %rdx
	movq	%rbx, %rsi
	movq	%r14, %rcx
	callq	_cascoda_api_downstream
	movq	-112(%rbp), %rcx
	movq	_SPI_HWME_SET_CONFIRM@GOTPCREL(%rip), %rdx
	xorq	(%rdx), %rcx
	orq	%rax, %rcx
	je	LBB0_1
## %bb.2:
	movq	_MAC_SYSTEM_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	leaq	-104(%rbp), %rax
LBB0_3:
	movq	(%rax), %rax
	addq	$96, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPI_HWME_SET_REQUEST,8,3       ## @SPI_HWME_SET_REQUEST
	.comm	_MAC_SYSTEM_ERROR,8,3           ## @MAC_SYSTEM_ERROR
	.comm	_SPI_HWME_SET_CONFIRM,8,3       ## @SPI_HWME_SET_CONFIRM
	.no_dead_strip	_hwme_set_request_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hwme_set_request_sync
_hwme_set_request_sync:                 ; @hwme_set_request_sync
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x20, x1
Lloh0:
	adrp	x8, _SPI_HWME_SET_REQUEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPI_HWME_SET_REQUEST@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x9, x1, #2
	stp	x0, x9, [sp, #80]
	str	x8, [sp, #48]
	str	x1, [sp, #72]
	mov	x1, x2
	mov	x2, x20
	bl	_memcpy
	add	x1, x20, #4
	mov	x20, sp
	add	x0, sp, #48
	mov	x2, sp
	mov	x3, x19
	bl	_cascoda_api_downstream
	ldr	x8, [sp]
Lloh3:
	adrp	x9, _SPI_HWME_SET_CONFIRM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SPI_HWME_SET_CONFIRM@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	x0, #0, #0, eq
	add	x8, x20, #8
Lloh6:
	adrp	x9, _MAC_SYSTEM_ERROR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAC_SYSTEM_ERROR@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SPI_HWME_SET_REQUEST,8,3       ; @SPI_HWME_SET_REQUEST
	.comm	_MAC_SYSTEM_ERROR,8,3           ; @MAC_SYSTEM_ERROR
	.comm	_SPI_HWME_SET_CONFIRM,8,3       ; @SPI_HWME_SET_CONFIRM
	.no_dead_strip	_hwme_set_request_sync
.subsections_via_symbols
