	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_dp_i2c_msg_set_request
_drm_dp_i2c_msg_set_request:            ## @drm_dp_i2c_msg_set_request
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	movq	_I2C_M_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_DP_AUX_I2C_WRITE@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_DP_AUX_I2C_READ@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, (%rdi)
	movq	_I2C_M_STOP@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_4
## %bb.5:
	popq	%rbp
	retq
LBB0_4:
	movq	_DP_AUX_I2C_MOT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.comm	_DP_AUX_I2C_READ,4,2            ## @DP_AUX_I2C_READ
	.comm	_DP_AUX_I2C_WRITE,4,2           ## @DP_AUX_I2C_WRITE
	.comm	_I2C_M_STOP,4,2                 ## @I2C_M_STOP
	.comm	_DP_AUX_I2C_MOT,4,2             ## @DP_AUX_I2C_MOT
	.no_dead_strip	_drm_dp_i2c_msg_set_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_dp_i2c_msg_set_request
_drm_dp_i2c_msg_set_request:            ; @drm_dp_i2c_msg_set_request
	.cfi_startproc
; %bb.0:
	ldr	w9, [x1]
Lloh0:
	adrp	x8, _I2C_M_RD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_M_RD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x10, _DP_AUX_I2C_READ@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DP_AUX_I2C_READ@GOTPAGEOFF]
Lloh5:
	adrp	x11, _DP_AUX_I2C_WRITE@GOTPAGE
Lloh6:
	ldr	x11, [x11, _DP_AUX_I2C_WRITE@GOTPAGEOFF]
	tst	w8, w9
	csel	x8, x11, x10, eq
	ldr	w8, [x8]
	str	w8, [x0]
Lloh7:
	adrp	x10, _I2C_M_STOP@GOTPAGE
Lloh8:
	ldr	x10, [x10, _I2C_M_STOP@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	ret
LBB0_2:
Lloh10:
	adrp	x9, _DP_AUX_I2C_MOT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DP_AUX_I2C_MOT@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.comm	_DP_AUX_I2C_READ,4,2            ; @DP_AUX_I2C_READ
	.comm	_DP_AUX_I2C_WRITE,4,2           ; @DP_AUX_I2C_WRITE
	.comm	_I2C_M_STOP,4,2                 ; @I2C_M_STOP
	.comm	_DP_AUX_I2C_MOT,4,2             ; @DP_AUX_I2C_MOT
	.no_dead_strip	_drm_dp_i2c_msg_set_request
.subsections_via_symbols
