	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_biospci_write_config           ## -- Begin function biospci_write_config
	.p2align	4, 0x90
_biospci_write_config:                  ## @biospci_write_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_V86_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_v86@GOTPCREL(%rip), %rbx
	movl	%eax, 36(%rbx)
	movq	_PCI_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_WRITE_CONFIG_BYTE@GOTPCREL(%rip), %rax
	addl	(%rax), %edx
	movl	%edx, (%rbx)
	movq	%rdi, 24(%rbx)
	movl	%esi, 4(%rbx)
	movq	%rcx, 16(%rbx)
	xorl	%eax, %eax
	callq	_v86int
	movl	8(%rbx), %edi
	callq	_V86_CY
	testq	%rax, %rax
	setne	%al
	cmpb	$0, 1(%rbx)
	setne	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
	negl	%eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V86_FLAGS,4,2                  ## @V86_FLAGS
	.comm	_v86,40,3                       ## @v86
	.comm	_PCI_INT,4,2                    ## @PCI_INT
	.comm	_WRITE_CONFIG_BYTE,4,2          ## @WRITE_CONFIG_BYTE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_biospci_write_config           ; -- Begin function biospci_write_config
	.p2align	2
_biospci_write_config:                  ; @biospci_write_config
	.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
Lloh0:
	adrp	x8, _V86_FLAGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V86_FLAGS@GOTPAGEOFF]
Lloh2:
	adrp	x19, _v86@GOTPAGE
Lloh3:
	ldr	x19, [x19, _v86@GOTPAGEOFF]
Lloh4:
	adrp	x9, _PCI_INT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _PCI_INT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #32]
Lloh8:
	adrp	x8, _WRITE_CONFIG_BYTE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WRITE_CONFIG_BYTE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	add	w8, w8, w2
	stp	w8, w1, [x19]
	stp	x3, x0, [x19, #16]
	bl	_v86int
	ldr	w0, [x19, #8]
	bl	_V86_CY
	cmp	x0, #0
	ldrb	w8, [x19, #1]
	ccmp	w8, #0, #0, eq
	cset	w8, ne
	sbfx	w0, w8, #0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_V86_FLAGS,4,2                  ; @V86_FLAGS
	.comm	_v86,40,3                       ; @v86
	.comm	_PCI_INT,4,2                    ; @PCI_INT
	.comm	_WRITE_CONFIG_BYTE,4,2          ; @WRITE_CONFIG_BYTE
.subsections_via_symbols
