	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tps68470_gpio_set
_tps68470_gpio_set:                     ## @tps68470_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	callq	_gpiochip_get_data
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_TPS68470_N_REGULAR_GPIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%r12d, %r12d
	cmpl	%r14d, %r13d
	movl	%r13d, %eax
	cmoval	%r12d, %eax
	movl	%r14d, %r15d
	subl	%eax, %r15d
	movq	_TPS68470_REG_GPDO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_TPS68470_REG_SGPO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r15d, %edi
	callq	_BIT
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.1:
	movl	%r15d, %edi
	movl	%eax, %r15d
	callq	_BIT
	movl	%eax, %r12d
	movl	%r15d, %eax
LBB0_2:
	cmpl	%r14d, %r13d
	cmoval	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	%r12d, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TPS68470_REG_GPDO,4,2          ## @TPS68470_REG_GPDO
	.comm	_TPS68470_N_REGULAR_GPIO,4,2    ## @TPS68470_N_REGULAR_GPIO
	.comm	_TPS68470_REG_SGPO,4,2          ## @TPS68470_REG_SGPO
	.no_dead_strip	_tps68470_gpio_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tps68470_gpio_set
_tps68470_gpio_set:                     ; @tps68470_gpio_set
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x2
	mov	x19, x1
	bl	_gpiochip_get_data
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _TPS68470_N_REGULAR_GPIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TPS68470_N_REGULAR_GPIO@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	cmp	w24, w19
	csel	w8, wzr, w24, hi
	sub	w22, w19, w8
Lloh3:
	adrp	x8, _TPS68470_REG_GPDO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TPS68470_REG_GPDO@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
Lloh6:
	adrp	x8, _TPS68470_REG_SGPO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TPS68470_REG_SGPO@GOTPAGEOFF]
Lloh8:
	ldr	w26, [x8]
	mov	x0, x22
	bl	_BIT
	mov	x21, x0
	cbz	w23, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_BIT
	mov	x3, x0
	b	LBB0_3
LBB0_2:
	mov	w3, #0
LBB0_3:
	cmp	w24, w19
	csel	w1, w25, w26, hi
	mov	x0, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_regmap_update_bits
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TPS68470_REG_GPDO,4,2          ; @TPS68470_REG_GPDO
	.comm	_TPS68470_N_REGULAR_GPIO,4,2    ; @TPS68470_N_REGULAR_GPIO
	.comm	_TPS68470_REG_SGPO,4,2          ; @TPS68470_REG_SGPO
	.no_dead_strip	_tps68470_gpio_set
.subsections_via_symbols
