	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_rs_set_address_common     ## -- Begin function acpi_rs_set_address_common
	.p2align	4, 0x90
_acpi_rs_set_address_common:            ## @acpi_rs_set_address_common
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_ACPI_FUNCTION_ENTRY
	movq	_acpi_rs_convert_general_flags@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_acpi_rs_convert_resource_to_aml
	movq	(%rbx), %rax
	movq	_ACPI_MEMORY_RANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_acpi_rs_convert_mem_flags@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	_ACPI_IO_RANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_acpi_rs_convert_io_flags@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_acpi_rs_convert_resource_to_aml ## TAILCALL
LBB0_5:
	movl	8(%rbx), %eax
	movl	%eax, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_acpi_rs_convert_general_flags,4,2 ## @acpi_rs_convert_general_flags
	.comm	_ACPI_MEMORY_RANGE,8,3          ## @ACPI_MEMORY_RANGE
	.comm	_acpi_rs_convert_mem_flags,4,2  ## @acpi_rs_convert_mem_flags
	.comm	_ACPI_IO_RANGE,8,3              ## @ACPI_IO_RANGE
	.comm	_acpi_rs_convert_io_flags,4,2   ## @acpi_rs_convert_io_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_rs_set_address_common     ; -- Begin function acpi_rs_set_address_common
	.p2align	2
_acpi_rs_set_address_common:            ; @acpi_rs_set_address_common
	.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	x20, x1
	mov	x19, x0
	bl	_ACPI_FUNCTION_ENTRY
Lloh0:
	adrp	x8, _acpi_rs_convert_general_flags@GOTPAGE
Lloh1:
	ldr	x8, [x8, _acpi_rs_convert_general_flags@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_acpi_rs_convert_resource_to_aml
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _ACPI_MEMORY_RANGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ACPI_MEMORY_RANGE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _acpi_rs_convert_mem_flags@GOTPAGE
Lloh7:
	ldr	x8, [x8, _acpi_rs_convert_mem_flags@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh8:
	adrp	x9, _ACPI_IO_RANGE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ACPI_IO_RANGE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
Lloh11:
	adrp	x8, _acpi_rs_convert_io_flags@GOTPAGE
Lloh12:
	ldr	x8, [x8, _acpi_rs_convert_io_flags@GOTPAGEOFF]
LBB0_4:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_acpi_rs_convert_resource_to_aml
LBB0_5:
	ldr	w8, [x20, #8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_acpi_rs_convert_general_flags,4,2 ; @acpi_rs_convert_general_flags
	.comm	_ACPI_MEMORY_RANGE,8,3          ; @ACPI_MEMORY_RANGE
	.comm	_acpi_rs_convert_mem_flags,4,2  ; @acpi_rs_convert_mem_flags
	.comm	_ACPI_IO_RANGE,8,3              ; @ACPI_IO_RANGE
	.comm	_acpi_rs_convert_io_flags,4,2   ; @acpi_rs_convert_io_flags
.subsections_via_symbols
