	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_gpio_to_gpiod_flags
_acpi_gpio_to_gpiod_flags:              ## @acpi_gpio_to_gpiod_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$131, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_8
## %bb.3:
	movl	4(%rdi), %ecx
	cmpl	$129, %ecx
	jne	LBB0_4
## %bb.5:
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %rax
	cmpl	$128, %ecx
	je	LBB0_7
	jmp	LBB0_9
LBB0_1:
	movq	_GPIOD_IN@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_GPIOD_ASIS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	_GPIOD_ASIS@GOTPCREL(%rip), %rax
	cmpl	$128, %ecx
	jne	LBB0_9
LBB0_7:
	movq	_GPIOD_OUT_HIGH@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIOD_IN,4,2                   ## @GPIOD_IN
	.comm	_GPIOD_OUT_HIGH,4,2             ## @GPIOD_OUT_HIGH
	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
	.comm	_GPIOD_ASIS,4,2                 ## @GPIOD_ASIS
	.no_dead_strip	_acpi_gpio_to_gpiod_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_gpio_to_gpiod_flags
_acpi_gpio_to_gpiod_flags:              ; @acpi_gpio_to_gpiod_flags
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #131
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #130
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, _GPIOD_ASIS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GPIOD_ASIS@GOTPAGEOFF]
Lloh2:
	adrp	x10, _GPIOD_OUT_LOW@GOTPAGE
Lloh3:
	ldr	x10, [x10, _GPIOD_OUT_LOW@GOTPAGEOFF]
	cmp	w8, #129
	csel	x9, x10, x9, eq
Lloh4:
	adrp	x10, _GPIOD_OUT_HIGH@GOTPAGE
Lloh5:
	ldr	x10, [x10, _GPIOD_OUT_HIGH@GOTPAGEOFF]
	cmp	w8, #128
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh6:
	adrp	x8, _GPIOD_IN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GPIOD_IN@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh9:
	adrp	x8, _GPIOD_ASIS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GPIOD_ASIS@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIOD_IN,4,2                   ; @GPIOD_IN
	.comm	_GPIOD_OUT_HIGH,4,2             ; @GPIOD_OUT_HIGH
	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
	.comm	_GPIOD_ASIS,4,2                 ; @GPIOD_ASIS
	.no_dead_strip	_acpi_gpio_to_gpiod_flags
.subsections_via_symbols
