	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adv76xx_set_hpd
_adv76xx_set_hpd:                       ## @adv76xx_set_hpd
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	%esi, -36(%rbp)
	movq	16(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movl	%esi, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %r12d
	movl	%ebx, %edi
	callq	_BIT
	andl	%r14d, %eax
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_gpiod_set_value_cansleep
	incq	%rbx
	movq	16(%r15), %rax
	movl	(%rax), %eax
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	movq	_ADV76XX_HOTPLUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_v4l2_subdev_notify
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADV76XX_HOTPLUG,4,2            ## @ADV76XX_HOTPLUG
	.no_dead_strip	_adv76xx_set_hpd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adv76xx_set_hpd
_adv76xx_set_hpd:                       ; @adv76xx_set_hpd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	str	w1, [sp, #12]
	ldr	x8, [x0, #16]
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w22, [x8, x21, lsl #2]
	mov	x0, x21
	bl	_BIT
	and	w1, w0, w20
	mov	x0, x22
	bl	_gpiod_set_value_cansleep
	add	x21, x21, #1
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	cmp	x21, x8
	b.lo	LBB0_2
LBB0_3:
Lloh0:
	adrp	x8, _ADV76XX_HOTPLUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADV76XX_HOTPLUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_v4l2_subdev_notify
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ADV76XX_HOTPLUG,4,2            ; @ADV76XX_HOTPLUG
	.no_dead_strip	_adv76xx_set_hpd
.subsections_via_symbols
