	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_data
_set_data:                              ## @set_data
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_get_reserved
	xorl	%esi, %esi
	testl	%r14d, %r14d
	movq	_GPIO_DATA_DIR_OUT@GOTPCREL(%rip), %rcx
	cmovel	(%rcx), %esi
	movq	_GPIO_DATA_DIR_IN@GOTPCREL(%rip), %rcx
	cmoveq	_GPIO_DATA_VAL_MASK@GOTPCREL(%rip), %rcx
	movq	_GPIO_DATA_DIR_MASK@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	orl	(%rcx), %esi
	movl	(%rbx), %edi
	orl	%eax, %esi
	callq	_GMBUS_REG_WRITE
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_GMBUS_REG_READ                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIO_DATA_DIR_IN,4,2           ## @GPIO_DATA_DIR_IN
	.comm	_GPIO_DATA_DIR_MASK,4,2         ## @GPIO_DATA_DIR_MASK
	.comm	_GPIO_DATA_DIR_OUT,4,2          ## @GPIO_DATA_DIR_OUT
	.comm	_GPIO_DATA_VAL_MASK,4,2         ## @GPIO_DATA_VAL_MASK
	.no_dead_strip	_set_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_data
_set_data:                              ; @set_data
	.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	x19, x1
	mov	x20, x0
	bl	_get_reserved
Lloh0:
	adrp	x8, _GPIO_DATA_DIR_OUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIO_DATA_DIR_OUT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GPIO_DATA_DIR_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GPIO_DATA_DIR_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w19, #0
	csel	w8, w8, wzr, eq
Lloh6:
	adrp	x10, _GPIO_DATA_VAL_MASK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _GPIO_DATA_VAL_MASK@GOTPAGEOFF]
Lloh8:
	adrp	x11, _GPIO_DATA_DIR_IN@GOTPAGE
Lloh9:
	ldr	x11, [x11, _GPIO_DATA_DIR_IN@GOTPAGEOFF]
	orr	w8, w9, w8
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	orr	w9, w8, w9
	ldr	w8, [x20]
	orr	w1, w9, w0
	mov	x0, x8
	bl	_GMBUS_REG_WRITE
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_GMBUS_REG_READ
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIO_DATA_DIR_IN,4,2           ; @GPIO_DATA_DIR_IN
	.comm	_GPIO_DATA_DIR_MASK,4,2         ; @GPIO_DATA_DIR_MASK
	.comm	_GPIO_DATA_DIR_OUT,4,2          ; @GPIO_DATA_DIR_OUT
	.comm	_GPIO_DATA_VAL_MASK,4,2         ; @GPIO_DATA_VAL_MASK
	.no_dead_strip	_set_data
.subsections_via_symbols
