	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sonypi_call1
_sonypi_call1:                          ## @sonypi_call1
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	_sonypi_device@GOTPCREL(%rip), %rbx
	movl	4(%rbx), %edi
	callq	_inb_p
	andl	$2, %eax
	movq	_ITERATIONS_LONG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_wait_on_command
	movl	4(%rbx), %esi
	movl	%r14d, %edi
	callq	_outb
	movl	4(%rbx), %edi
	callq	_inb_p
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_inb_p                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sonypi_device,8,2              ## @sonypi_device
	.comm	_ITERATIONS_LONG,4,2            ## @ITERATIONS_LONG
	.no_dead_strip	_sonypi_call1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sonypi_call1
_sonypi_call1:                          ; @sonypi_call1
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _sonypi_device@GOTPAGE
Lloh1:
	ldr	x20, [x20, _sonypi_device@GOTPAGEOFF]
	ldr	w0, [x20, #4]
	bl	_inb_p
	and	w1, w0, #0x2
Lloh2:
	adrp	x8, _ITERATIONS_LONG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ITERATIONS_LONG@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w0, #0
	bl	_wait_on_command
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_outb
	ldr	w0, [x20, #4]
	bl	_inb_p
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_inb_p
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_sonypi_device,8,2              ; @sonypi_device
	.comm	_ITERATIONS_LONG,4,2            ; @ITERATIONS_LONG
	.no_dead_strip	_sonypi_call1
.subsections_via_symbols
