	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dst_ca_attach                  ## -- Begin function dst_ca_attach
	.p2align	4, 0x90
_dst_ca_attach:                         ## @dst_ca_attach
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_verbose@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DST_CA_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movl	$1, %edx
	callq	_dprintk
	movq	_DVB_DEVICE_CA@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_dvbdev_ca@GOTPCREL(%rip), %rdx
	leaq	-32(%rbp), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movq	%r14, %rcx
	xorl	%r9d, %r9d
	callq	_dvb_register_device
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	-32(%rbp), %rbx
	movq	%rbx, (%r14)
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbose,4,2                    ## @verbose
	.comm	_DST_CA_ERROR,4,2               ## @DST_CA_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"registering DST-CA device"

	.comm	_dvbdev_ca,4,2                  ## @dvbdev_ca
	.comm	_DVB_DEVICE_CA,4,2              ## @DVB_DEVICE_CA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dst_ca_attach                  ; -- Begin function dst_ca_attach
	.p2align	2
_dst_ca_attach:                         ; @dst_ca_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _verbose@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _DST_CA_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DST_CA_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	w2, #1
	bl	_dprintk
Lloh8:
	adrp	x8, _DVB_DEVICE_CA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DVB_DEVICE_CA@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
Lloh11:
	adrp	x2, _dvbdev_ca@GOTPAGE
Lloh12:
	ldr	x2, [x2, _dvbdev_ca@GOTPAGEOFF]
	add	x1, sp, #8
	mov	x0, x20
	mov	x3, x19
	mov	w5, #0
	bl	_dvb_register_device
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, #0
	b	LBB0_3
LBB0_2:
	ldr	x0, [sp, #8]
	str	x0, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_verbose,4,2                    ; @verbose
	.comm	_DST_CA_ERROR,4,2               ; @DST_CA_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"registering DST-CA device"

	.comm	_dvbdev_ca,4,2                  ; @dvbdev_ca
	.comm	_DVB_DEVICE_CA,4,2              ; @DVB_DEVICE_CA
.subsections_via_symbols
