	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adv7511_packet_enable
_adv7511_packet_enable:                 ## @adv7511_packet_enable
	.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, %ebx
	movq	%rdi, %r14
	testb	%bl, %bl
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	movq	_ADV7511_REG_PACKET_ENABLE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	movl	$255, %ecx
	callq	_regmap_update_bits
LBB0_2:
	testl	$65280, %ebx                    ## imm = 0xFF00
	je	LBB0_4
## %bb.3:
	shrl	$8, %ebx
	movl	(%r14), %edi
	movq	_ADV7511_REG_PACKET_ENABLE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	movl	$255, %ecx
	callq	_regmap_update_bits
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADV7511_REG_PACKET_ENABLE0,4,2 ## @ADV7511_REG_PACKET_ENABLE0
	.comm	_ADV7511_REG_PACKET_ENABLE1,4,2 ## @ADV7511_REG_PACKET_ENABLE1
	.no_dead_strip	_adv7511_packet_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adv7511_packet_enable
_adv7511_packet_enable:                 ; @adv7511_packet_enable
	.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	x20, x1
	mov	x19, x0
	tst	w1, #0xff
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _ADV7511_REG_PACKET_ENABLE0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADV7511_REG_PACKET_ENABLE0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x20
	mov	w3, #255
	bl	_regmap_update_bits
LBB0_2:
	tst	w20, #0xff00
	b.eq	LBB0_4
; %bb.3:
	lsr	w2, w20, #8
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _ADV7511_REG_PACKET_ENABLE1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADV7511_REG_PACKET_ENABLE1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w3, #255
	bl	_regmap_update_bits
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ADV7511_REG_PACKET_ENABLE0,4,2 ; @ADV7511_REG_PACKET_ENABLE0
	.comm	_ADV7511_REG_PACKET_ENABLE1,4,2 ; @ADV7511_REG_PACKET_ENABLE1
	.no_dead_strip	_adv7511_packet_enable
.subsections_via_symbols
