	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iproc_gpio_set
_iproc_gpio_set:                        ## @iproc_gpio_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	callq	_gpiochip_get_data
	movq	%rax, %rbx
	leaq	4(%rax), %r12
	movq	%r12, %rdi
	callq	_raw_spin_lock_irqsave
	movq	_IPROC_GPIO_DATA_OUT_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ecx, %ecx
	testl	%r14d, %r14d
	setne	%cl
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_iproc_set_bit
	movq	%r12, %rdi
	callq	_raw_spin_unlock_irqrestore
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPROC_GPIO_DATA_OUT_OFFSET,4,2 ## @IPROC_GPIO_DATA_OUT_OFFSET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gpio:%u set, value:%d\n"

	.no_dead_strip	_iproc_gpio_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iproc_gpio_set
_iproc_gpio_set:                        ; @iproc_gpio_set
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	bl	_gpiochip_get_data
	mov	x21, x0
	add	x22, x0, #4
	mov	x0, x22
	bl	_raw_spin_lock_irqsave
Lloh0:
	adrp	x8, _IPROC_GPIO_DATA_OUT_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPROC_GPIO_DATA_OUT_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	cmp	w19, #0
	cset	w3, ne
	mov	x0, x21
	mov	x2, x20
	bl	_iproc_set_bit
	mov	x0, x22
	bl	_raw_spin_unlock_irqrestore
	ldr	w0, [x21]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dev_dbg
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPROC_GPIO_DATA_OUT_OFFSET,4,2 ; @IPROC_GPIO_DATA_OUT_OFFSET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gpio:%u set, value:%d\n"

	.no_dead_strip	_iproc_gpio_set
.subsections_via_symbols
