	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ingenic_gpio_set_value
_ingenic_gpio_set_value:                ## @ingenic_gpio_set_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	movl	%esi, %edx
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	_ID_JZ4760@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jge	LBB0_1
## %bb.2:
	movq	_JZ4740_GPIO_DATA@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_JZ4760_GPIO_PAT0@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %esi
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	popq	%rbp
	jmp	_ingenic_gpio_set_bit           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ID_JZ4760,8,3                  ## @ID_JZ4760
	.comm	_JZ4760_GPIO_PAT0,4,2           ## @JZ4760_GPIO_PAT0
	.comm	_JZ4740_GPIO_DATA,4,2           ## @JZ4740_GPIO_DATA
	.no_dead_strip	_ingenic_gpio_set_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ingenic_gpio_set_value
_ingenic_gpio_set_value:                ; @ingenic_gpio_set_value
	.cfi_startproc
; %bb.0:
	mov	x8, x1
	ldr	x9, [x0]
	ldr	x9, [x9]
Lloh0:
	adrp	x10, _ID_JZ4760@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ID_JZ4760@GOTPAGEOFF]
Lloh2:
	adrp	x11, _JZ4740_GPIO_DATA@GOTPAGE
Lloh3:
	ldr	x11, [x11, _JZ4740_GPIO_DATA@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
Lloh5:
	adrp	x12, _JZ4760_GPIO_PAT0@GOTPAGE
Lloh6:
	ldr	x12, [x12, _JZ4760_GPIO_PAT0@GOTPAGEOFF]
	cmp	x9, x10
	csel	x9, x11, x12, lt
	ldr	w1, [x9]
	cmp	w2, #0
	cset	w3, ne
	mov	x2, x8
	b	_ingenic_gpio_set_bit
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ID_JZ4760,8,3                  ; @ID_JZ4760
	.comm	_JZ4760_GPIO_PAT0,4,2           ; @JZ4760_GPIO_PAT0
	.comm	_JZ4740_GPIO_DATA,4,2           ; @JZ4740_GPIO_DATA
	.no_dead_strip	_ingenic_gpio_set_value
.subsections_via_symbols
