	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ds1621_init_client
_ds1621_init_client:                    ## @ds1621_init_client
	.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
	movq	%rdi, %rbx
	movq	_DS1621_REG_CONF@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_i2c_smbus_read_byte_data
	movq	_DS1621_REG_CONFIG_1SHOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_polarity@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	$1, %ecx
	je	LBB0_3
## %bb.1:
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.2:
	movq	_DS1621_REG_CONFIG_POLARITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %edx
LBB0_4:
	cmpl	%edx, %eax
	je	LBB0_6
LBB0_5:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_i2c_smbus_write_byte_data
LBB0_6:
	movq	_DS1621_COM_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_i2c_smbus_write_byte           ## TAILCALL
LBB0_3:
	movq	_DS1621_REG_CONFIG_POLARITY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	cmpl	%edx, %eax
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_DS1621_REG_CONF,4,2            ## @DS1621_REG_CONF
	.comm	_DS1621_REG_CONFIG_1SHOT,4,2    ## @DS1621_REG_CONFIG_1SHOT
	.comm	_polarity,4,2                   ## @polarity
	.comm	_DS1621_REG_CONFIG_POLARITY,4,2 ## @DS1621_REG_CONFIG_POLARITY
	.comm	_DS1621_COM_START,4,2           ## @DS1621_COM_START
	.no_dead_strip	_ds1621_init_client
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ds1621_init_client
_ds1621_init_client:                    ; @ds1621_init_client
	.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, x0
Lloh0:
	adrp	x20, _DS1621_REG_CONF@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DS1621_REG_CONF@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_i2c_smbus_read_byte_data
Lloh2:
	adrp	x8, _DS1621_REG_CONFIG_1SHOT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DS1621_REG_CONFIG_1SHOT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w2, w0, w8
Lloh5:
	adrp	x8, _polarity@GOTPAGE
Lloh6:
	ldr	x8, [x8, _polarity@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, #1
	b.eq	LBB0_6
; %bb.1:
	cbnz	w8, LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _DS1621_REG_CONFIG_POLARITY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DS1621_REG_CONFIG_POLARITY@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	bic	w2, w2, w8
LBB0_3:
	cmp	w0, w2
	b.eq	LBB0_5
LBB0_4:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_i2c_smbus_write_byte_data
LBB0_5:
Lloh11:
	adrp	x8, _DS1621_COM_START@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DS1621_COM_START@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_i2c_smbus_write_byte
LBB0_6:
Lloh14:
	adrp	x8, _DS1621_REG_CONFIG_POLARITY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DS1621_REG_CONFIG_POLARITY@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	orr	w2, w8, w2
	cmp	w0, w2
	b.ne	LBB0_4
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_DS1621_REG_CONF,4,2            ; @DS1621_REG_CONF
	.comm	_DS1621_REG_CONFIG_1SHOT,4,2    ; @DS1621_REG_CONFIG_1SHOT
	.comm	_polarity,4,2                   ; @polarity
	.comm	_DS1621_REG_CONFIG_POLARITY,4,2 ; @DS1621_REG_CONFIG_POLARITY
	.comm	_DS1621_COM_START,4,2           ; @DS1621_COM_START
	.no_dead_strip	_ds1621_init_client
.subsections_via_symbols
